package com.soccertgc.core.game.events
{
	import com.soccertgc.core.game.Game;
	import com.soccertgc.core.game.GamePhase;
	
	public class GamePhaseEvent extends GameEvent
	{
		
		// -------------------------------------------------------------------------------
		// FIELDS
		// -------------------------------------------------------------------------------
		
		private var _phase:GamePhase;
		
		// -------------------------------------------------------------------------------
		// CONSTRUCTOR
		// -------------------------------------------------------------------------------
		
		public function GamePhaseEvent(t:String, g:Game, p:GamePhase)
		{
			super(t, g);
			// Init 
			_phase = p;
		}
		
		// -------------------------------------------------------------------------------
		// PROPERTIES
		// -------------------------------------------------------------------------------

		public function get phase():GamePhase
		{
			return _phase;
		}

	}
}